<include file="Public:header"/>
<include file="public"/>
<span class="span2">
<table class="table">
    <tr>
        <td>#</td>
        <td>名称</td>
    </tr>
    <foreach name="malls" item="m">
        <tr>
            <td>{$m.id}</td>
            <td>
                <a href="javascript:;" data-mid="{$m.id}" class="mall">{$m.name}</a>
                <a href="javascript:;" data-mid="{$m.id}" class="show_add">
                    <i class="icon-plus"></i>
                </a>
                <a href="javascript:;" data-mid="{$m.id}" class="phone">
                    <i class="icon-chevron-right"></i>
                </a>
            </td>
        </tr>
    </foreach>
</table>
</span>
<span class="span1" style="display: none;" id="floors"></span>
<span class="span2" style="display: none;" id="brands"></span>
<span class="span3" style="display: none;" id="phones"></span>
<include file="Public:footer"/>
<script type="text/javascript" src="__STATIC__/task/js/editor.js"></script>
<script type="text/javascript">
    $(function () {
        setting.addHtml = $("#phone_add").html();
        $("#phone_add").remove();
        $('a.mall').floorShow({url:"/Task/Phone/getFloors/mid/", floors:"#floors"});
        $('a.phone').editorPhone();
        $('a.show_add').addPhone();
    });
</script>